﻿#region Usings

using FluentValidation;
using Yandex.Market.Api.Model;

#endregion

namespace Yandex.Market.Api.Validation
{
    internal class OfferVendorModelValidator : OfferBaseValidator<OfferVendorModel>
    {
        public OfferVendorModelValidator()
        {
            RuleFor(offer => offer.Model).NotEmpty();
            RuleFor(offer => offer.Vendor).NotEmpty();
        }
    }
}